<?php

if(! defined('OT_ROOT')) {
	exit('Access Denied');
}


class AppRobot{
	public static $appName = '访客雷达/蜘蛛爬行';
	public static $appID = 170;

	public static function Jud(){
		return false;
	}

	public static function Show($str, $def=''){
			return $def;
	}


	public static function UserVisit($mode='pc'){

	}

	public static function AdmPanel($type='',$closeArea=''){
	}

	public static function LastTime($type, $date='', $addi=''){
	}

	public static function TodayNum($type, $date=''){
		return -1;
	}

	public static function MobileNum($isMobile, $date=''){
		return -1;
	}

	public static function ClickHref($href, $mode=''){
	}

	public static function GetDayArr($date=''){
		return array('pvNum'=>-1, 'uvNum'=>-1, 'ipNum'=>-1, 'newNum'=>-1, 'oldNum'=>-1, 'pcNum'=>-1, 'wapNum'=>-1, 'mobile0Num'=>-1, 'mobile1Num'=>-1);
	}

	public static function UpdateData($date){
		return false;
	}

	public static function AddListData(){
		$succNum = $failNum = 0;
		$retArr = array('res'=>false, 'note'=>'插件未购买', 'succNum'=>$succNum, 'failNum'=>$failNum);
		return $retArr;
	}

	public static function DelOldData(){
	}

	public static function AutoRunDeal(){
		$contStr = '【访客雷达-记录每日统计】未购买插件';
		return array('ret'=>true,'note'=>$contStr);
	}

	public static function IpList360($ip){
			return false;
	}
}
?>